package com.su.gulimall.product.feign;

import com.su.common.to.SkuHasStockVo;
import com.su.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("gulimall-ware")
public interface WareFeignService {

@RequestMapping("/ware/waresku/hasStock")
public R<List<SkuHasStockVo>> getSkuHasWare(@RequestBody List<Long> skuIds);

}
